package com.ft.oa.domain.clueproject;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ft.oa.domain.dto.knowledgeBase.AttachmentDto;
import lombok.Data;

/**
 * 线索每周进度对象 clue_project_progress
 * 
 * @author ft
 * @date 2022-01-04
 */
@Data
public class ClueProjectProgress
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 项目线索id */
    private Long clueProjectId;

    /** 跟踪进度主题 */
    private String subject;

    /** 跟踪进度详情 */
    private String content;

    /** 进度跟进日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

    /** 创建人 */
    private Long creator;
    /**
     * 创建人名字
     */
    @TableField(exist = false)
    private String creatorName;

    @TableField(exist = false)

    private List<AttachmentDto> attachments;

    private String achment;

    @TableField(exist = false)
    private String projectnumber;
}
